package org.edu.modules.pub.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@TableName("ve_file_image")
@ApiModel(value = "ve_file_image对象", description = "图片表")
public class VeFileImageVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name = "sha1值", width = 15.0D)
    @ApiModelProperty("sha1值")
    private String sha1;
    @Excel(name = "图片的名称", width = 15.0D)
    @ApiModelProperty("图片的名称")
    private String name;
    @Excel(name = "图片的路径", width = 15.0D)
    @ApiModelProperty("图片的路径")
    private String sourcefile;
    @Excel(name = "扩展名", width = 15.0D)
    @ApiModelProperty("扩展名")
    private String ext;

    /* 21 */
    public org.edu.modules.pub.vo.VeFileImageVO setId(Integer id) {
        this.id = id;
        return this;
    }

    @Excel(name = "文件大小，字节单位", width = 15.0D)
    @ApiModelProperty("文件大小，字节单位")
    private long size;
    @Excel(name = "上传用户", width = 15.0D)
    @ApiModelProperty("上传用户")
    private Integer createuser;
    @Excel(name = "上传时间", width = 15.0D)
    @ApiModelProperty("上传时间")
    private long createtime;
    @Excel(name = "终端系统ID", width = 15.0D)
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @Excel(name = "多租户id", width = 15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;
    @ApiModelProperty("下载文件")
    private String downloadurl;

    public org.edu.modules.pub.vo.VeFileImageVO setSha1(String sha1) {
        this.sha1 = sha1;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setName(String name) {
        this.name = name;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setSourcefile(String sourcefile) {
        this.sourcefile = sourcefile;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setExt(String ext) {
        this.ext = ext;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setSize(long size) {
        this.size = size;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setCreateuser(Integer createuser) {
        this.createuser = createuser;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setCreatetime(long createtime) {
        this.createtime = createtime;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public org.edu.modules.pub.vo.VeFileImageVO setDownloadurl(String downloadurl) {
        this.downloadurl = downloadurl;
        return this;
    }

    public String toString() {
        return "VeFileImageVO(id=" + getId() + ", sha1=" + getSha1() + ", name=" + getName() + ", sourcefile=" + getSourcefile() + ", ext=" + getExt() + ", size=" + getSize() + ", createuser=" + getCreateuser() + ", createtime=" + getCreatetime() + ", terminalid=" + getTerminalid() + ", placeId=" + getPlaceId() + ", downloadurl=" + getDownloadurl() + ")";
    }


    /* 24 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.pub.vo.VeFileImageVO)) return false;
        org.edu.modules.pub.vo.VeFileImageVO other = (org.edu.modules.pub.vo.VeFileImageVO) o;
        if (!other.canEqual(this)) return false;
        if (getSize() != other.getSize()) return false;
        if (getCreatetime() != other.getCreatetime()) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$createuser = getCreateuser(), other$createuser = other.getCreateuser();
        if ((this$createuser == null) ? (other$createuser != null) : !this$createuser.equals(other$createuser))
            return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$sha1 = getSha1(), other$sha1 = other.getSha1();
        if ((this$sha1 == null) ? (other$sha1 != null) : !this$sha1.equals(other$sha1)) return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false;
        Object this$sourcefile = getSourcefile(), other$sourcefile = other.getSourcefile();
        if ((this$sourcefile == null) ? (other$sourcefile != null) : !this$sourcefile.equals(other$sourcefile))
            return false;
        Object this$ext = getExt(), other$ext = other.getExt();
        if ((this$ext == null) ? (other$ext != null) : !this$ext.equals(other$ext)) return false;
        Object this$downloadurl = getDownloadurl(), other$downloadurl = other.getDownloadurl();
        return !((this$downloadurl == null) ? (other$downloadurl != null) : !this$downloadurl.equals(other$downloadurl));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.pub.vo.VeFileImageVO;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        long $size = getSize();
        result = result * 59 + (int) ($size >>> 32L ^ $size);
        long $createtime = getCreatetime();
        result = result * 59 + (int) ($createtime >>> 32L ^ $createtime);
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $createuser = getCreateuser();
        result = result * 59 + (($createuser == null) ? 43 : $createuser.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $sha1 = getSha1();
        result = result * 59 + (($sha1 == null) ? 43 : $sha1.hashCode());
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $sourcefile = getSourcefile();
        result = result * 59 + (($sourcefile == null) ? 43 : $sourcefile.hashCode());
        Object $ext = getExt();
        result = result * 59 + (($ext == null) ? 43 : $ext.hashCode());
        Object $downloadurl = getDownloadurl();
        return result * 59 + (($downloadurl == null) ? 43 : $downloadurl.hashCode());
    }


    public Integer getId() {
        /* 32 */
        return this.id;
    }

    public String getSha1() {
        /* 36 */
        return this.sha1;
    }

    public String getName() {
        /* 40 */
        return this.name;
    }

    public String getSourcefile() {
        /* 44 */
        return this.sourcefile;
    }

    public String getExt() {
        /* 48 */
        return this.ext;
    }

    public long getSize() {
        /* 52 */
        return this.size;
    }

    public Integer getCreateuser() {
        /* 56 */
        return this.createuser;
    }

    public long getCreatetime() {
        /* 60 */
        return this.createtime;
    }

    public Integer getTerminalid() {
        /* 64 */
        return this.terminalid;
    }

    public Integer getPlaceId() {
        /* 68 */
        return this.placeId;
    }

    public String getDownloadurl() {
        /* 71 */
        return this.downloadurl;
    }
}


